package com.rrd.dw.mr.gzip.kafka;

import com.ucredit.babel.common.model.BaseModel;
import com.ucredit.babel.common.model.RecordType;
import com.ucredit.babel.common.model.third.pudao.PuDaoMultipleApplyData;
import com.ucredit.babel.common.model.third.pudao.PuDaoMultipleApplyRecord;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper.Context;

import java.io.IOException;

/**
 * 朴道-多次借贷申请
 *
 * @author guoqiang
 */
public class PuDaoMultipleApplyParse extends ParseBase {
    private Text val = new Text();
    private Text key = new Text();

    /**
     * 朴道-多次借贷申请
     *
     * @param model
     * @throws InterruptedException
     * @throws IOException
     */
    public boolean parseJob(Context context, BaseModel<?> model, String successful) throws IOException, InterruptedException {
        PuDaoMultipleApplyRecord obj = (PuDaoMultipleApplyRecord) model;
        PuDaoMultipleApplyData scoreData = obj.getData();
        StringBuilder sb = getBaseInfo(obj, successful);
        sb.append(formatValue(scoreData.getFlag())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3IdNbankWeekOrgnum())).append(CRT001);
        // d7
        sb.append(formatValue(scoreData.getPpdiD7IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7IdNbankWeekOrgnum())).append(CRT001);
        // d15
        sb.append(formatValue(scoreData.getPpdiD15IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15IdNbankWeekOrgnum())).append(CRT001);
        // m1
        sb.append(formatValue(scoreData.getPpdiM1IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1IdNbankWeekOrgnum())).append(CRT001);
        // m3
        sb.append(formatValue(scoreData.getPpdiM3IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3IdNbankWeekOrgnum())).append(CRT001);
        //m6
        sb.append(formatValue(scoreData.getPpdiM6IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6IdNbankWeekOrgnum())).append(CRT001);
        //m12
        sb.append(formatValue(scoreData.getPpdiM12IdAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12IdNbankWeekOrgnum())).append(CRT001);
        // d3 cell
        sb.append(formatValue(scoreData.getPpdiD3CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD3CellNbankWeekOrgnum())).append(CRT001);
        // d7 cell
        sb.append(formatValue(scoreData.getPpdiD7CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD7CellNbankWeekOrgnum())).append(CRT001);
        // D15 cell
        sb.append(formatValue(scoreData.getPpdiD15CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiD15CellNbankWeekOrgnum())).append(CRT001);
        //m1 cell
        sb.append(formatValue(scoreData.getPpdiM1CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM1CellNbankWeekOrgnum())).append(CRT001);
        // m3 cell
        sb.append(formatValue(scoreData.getPpdiM3CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM3CellNbankWeekOrgnum())).append(CRT001);
        //m6 cell
        sb.append(formatValue(scoreData.getPpdiM6CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM6CellNbankWeekOrgnum())).append(CRT001);
        //M12 CELL
        sb.append(formatValue(scoreData.getPpdiM12CellAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellBankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankLoanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankNloanAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankConsAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankFinAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankAutoAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankSafeAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankOtherAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellBankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankNightAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellBankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankWeekAllnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellBankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankLoanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankNloanOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankConsOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankFinOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankAutoOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankSafeOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankOtherOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellBankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankNightOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellBankWeekOrgnum())).append(CRT001);
        sb.append(formatValue(scoreData.getPpdiM12CellNbankWeekOrgnum())).append(CRT001);
        key.set(getKey());
        val.set(sb.toString().replace("\n", " ").replace("\r", " "));
        context.write(key, val);
        return true;
    }

    @Override
    public String getTableName() {
        return "kafka_babel_pudaomultiple_apply_inc";
    }

    @Override
    public String getType() {
        return RecordType.PD_MULTIPLE_APPLY_RECORD.toString();
    }

    @Override
    public String getComment() {
        return "朴道-多次借贷申请";
    }

}
